/**
 * @Description:  电子标配管理API
 * @Author:       zhengxu
 * @Date: 2021-11-10 09:59:36
 * @LastEditors:  zhengxu
 * @LastEditTime: 2021-11-10 16:57:26
 */

import { service as request, BasePath } from '../request'

/**
  * 新增电子标配信息
  * @params data 电子标配数据
  * @returns {Object} Promise
  */
export const addElectronicSignInfo = (data) => request({
  url: `${BasePath}/electronicsign`,
  method: 'POST',
  data
})
/**
  * 修改电子标配信息
  * @params data 电子标配数据
  * @returns {Object} Promise
  */
export const editElectronicSignInfo = (data) => request({
  url: `${BasePath}/electronicsign`,
  method: 'PUT',
  data
})
